/**
 * Classe che rappresenta una mappa da gioco
 * @author SPAIRisKo
 */

package org.spairisko.domain;

import java.util.ArrayList;
import java.util.List;

public class Map {

    private String name;
    private String description;

    private List<Area> areas;

    public Map() {
        this.areas = new ArrayList<Area>();
    }

    public Map(String name, String description) {
        this.name = name;
        this.description = description;
        this.areas = new ArrayList<Area>();
    }

    public List<Area> getAreas() {
        return areas;
    }

    public void setAreas(List<Area> areas) {
        this.areas = areas;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
